package gwtappcontainer.client.apps;

import java.util.Map;

import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.HTML;

public class UndefinedView implements IPresenter {
	
	private String appTitle;
	private String viewTitle;
	
	public UndefinedView(String appTitle, String viewTitle) {
		this.appTitle = appTitle;
		this.viewTitle = viewTitle;
	}	

	@Override
	public void render(FlowPanel fp, Map<String, String> params) {
		fp.clear();
		fp.add(new HTML("Undefined view [" + viewTitle + "] for app [" + appTitle + 
				"]"));		
	}
}
